home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7127 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  862 b 

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: bbogard@ibm.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ & macros
  5. Date: 21 Feb 1996 20:43:57 GMT
  6. Message-ID: <4gg06d$401m@news-s01.ny.us.ibm.net>
  7. References: <DLBxoH.GLw@ariel.cs.yorku.ca> <310EA2DE.6927@a4430edc.esr.hp.com> <4eun5f$50c@cloner4.netcom.com>
  8. Reply-To: bbogard@ibm.net
  9. NNTP-Posting-Host: slip37-223-98.ibm.net
  10. X-Newsreader: IBM NewsReader/2 v1.2.5
  11.  
  12. In <4eun5f$50c@cloner4.netcom.com>, swampwiz@ix.netcom.com(Jean P. Laborde ) writes:
  13. >
  14. >Someone responded to this group and advocated using a define macro.
  15. >
  16. >I thought that was extremely bad practice in C++.
  17. >
  18. >Comments Encouraged,
  19. >The Swamp Wizard
  20.  
  21. Using #define macros is not a bad idea, but it depends on the problem and restrictions
  22. of the project you are working on.  Sometime, for speed you want just a macro and not
  23. have to make a function call.
  24.